package cn.fastoo.web.backstage.task;

import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;

/**
 * Created by lowkey on 18/6/19.
 */
public class ActOrderTaskListener implements TaskListener{

    @Override
    public void notify(DelegateTask delegateTask) {

        String taskKey = delegateTask.getTaskDefinitionKey();
        delegateTask.setAssignee(taskKey+"er");
    }
}
